package com.uriuniv.util;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class DateUtil {
	
	public static Timestamp getToday(){
		
		SimpleDateFormat frm= new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss");
		Calendar cal = Calendar.getInstance();
		String today = frm.format(cal.getTime());
		Timestamp ts = Timestamp.valueOf(today);
		
		return ts;
	}
	
}
